﻿using System;
using System.Collections.Generic;
using System.Text;

using KxzzEntity.Enums;

namespace Entity.MsgEntity
{
    [Serializable]
    public class MessageEntity
    {
        private MessageType messageType;
        private string fromUser;
        private string toUser;
        private string sendTime;
        private string sendUser;
        private string sendUid;
        private string message;

        /// <summary>
        /// 发送者的Uid
        /// </summary>
        public string SendUid
        {
            get { return sendUid; }
            set { sendUid = value; }
        }

        /// <summary>
        /// 发送的用户
        /// </summary>
        public string SendUser
        {
            get { return sendUser; }
            set { sendUser = value; }
        }

        /// <summary>
        /// 信息类型
        /// </summary>
        public MessageType MessageType
        {
            get { return messageType; }
            set { messageType = value; }
        }

        /// <summary>
        /// 发送者
        /// </summary>
        public string FromUser
        {
            get { return fromUser; }
            set { fromUser = value; }
        }

        /// <summary>
        /// 接受者
        /// </summary>
        public string ToUser
        {
            get { return toUser; }
            set { toUser = value; }
        }

        /// <summary>
        /// 发送时间
        /// </summary>
        public string SendTime
        {
            get { return sendTime; }
            set { sendTime = value; }
        }

        /// <summary>
        /// 内容
        /// </summary>
        public string Message
        {
            get { return message; }
            set { message = value; }
        }
    }
}
